{% if search %}
<form id="searchForm" action="{{ search_url }}" method="get">
  <fieldset>
    <label for="id_q">search</label>
    {{ search.q }}
  
    <input type="submit" value="search" id="submit"/>
  </fieldset>
</form>
{% endif %}

<h1>options</h1>
<ul>
{% if request.user and request.user.is_authenticated %}
    <li><a href="/bookmarks/{{ request.user.username}}/add/">add some</a></li>
    <li><a href="/bookmarks/{{ request.user.username}}/">list yours</a></li>
    <li><a href="{{ list_url }}rss/">rss feed</a></li>
    <li><a href="{{ list_url }}export/">export</a></li>
    <li><a href="/accounts/logout/">logout</a></li>
{% else %}
    <li><a href="/">home</a></li>
    <li><a href="/b/">ravings</a></li>
    <li><a href="{{ list_url }}rss/">rss feed</a></li>
    <li><a href="/accounts/login/">login</a></li>
{% endif %}
</ul>
